package com.neusoft.elmboot.controller;

import com.neusoft.elmboot.service.impl.AiServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.http.MediaType;
import org.springframework.web.bind.annotation.*;


@RestController
@RequestMapping("/AiController")
public class AiController {
	
	@Autowired
	private AiServiceImpl  aiServiceImpl;
	
	@RequestMapping("/listOptionByAdj")
	public String listOptionByAdj(String adj)  throws Exception{
		return aiServiceImpl.listOptionByAdj(adj);
	}
}
